package cn.bonoon.kernel.menus.layouts;

import cn.bonoon.kernel.menus.ModuleDefinition;
import cn.bonoon.kernel.menus.privileges.PrivilegeInspector;
import cn.bonoon.kernel.support.IOperator;

/**
 * 解释整个界面框架的上下文；包括：
 * 1. 首页
 * 2. 频道
 * 3. 菜单
 * 4. tab
 * 
 * @author jackson
 *
 */
public class LayoutResolveContext {
	
	private String channelSelected = "channelSelected";
	private String channelSelectedLast = "lastChannelSelected";
	private String channelSelectedAfter = "afterSelected";
	
	private String menuSelected = "menuSelected";
	private String menuUnelected = "";
	
	/** 当前进入的系统，必须有的 */
	private ModuleDefinition module;
	
	/** 当前需要生成的界面，这个菜单必须是可生成的 */
	private LayoutGenerable item;
	
	/** 当前的用户 */
	private IOperator user;
	
	/** 操作的权限 */
	private PrivilegeInspector privilege;
}
